<!DOCTYPE html><html><head>
  <title>:first-letter with ::first-letter</title>
  <style type="text/css">
  p::first-letter { background-color: red; }
  p:first-letter { background-color: lime; }
</style>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
  <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"> <!-- bogus link to make sure it gets found -->
  <meta name="flags" content="">
 </head>
 <body>
   <p>The first letter of this paragraph should have a green background.</p>

</body></html>